import Loading from "@/directives/loading";
import { App } from "vue";

const directives = [Loading];

const install = (app: App<Element>) => {
  // 自定义指令注册
  directives.forEach((direction) => app.directive(direction.name, direction));
};
// 全部导出
export default {
  install,
};
